Custom Template

Is it possible to create custom template to be used for creating of new modules. At present we have template module which users are copying, pasting and renaming. We would like to create new modules based on custom built template. I have searched all documentation and could not find any way of doing it. Is it possible ? If yes how ? Where I can find details.

Thanks for help

Tony
Tony_Aus - Wed Feb 10 17:32:02 EST 2010

Re: Custom Template
sammyc - Wed Feb 10 18:42:31 EST 2010

If you want to use a template to populate the new module, select the Use a template check box, and then use Browse to locate it. Rational DOORS provides a library of templates to help get you up and running quickly. For example, there are DoD-STD and MIL-STD templates.

You can create your own templates and add them to the library, which is in the Rational DOORS home directory, in \doors_9.2\lib\dxl\standard. For more information, see the DXL Reference Manual, which can be accessed from Rational DOORS by clicking Help > DXL Reference Manual.

Re: Custom Template
SystemAdmin - Wed Feb 10 23:51:42 EST 2010

I'm assuming that the scope of what you want in a DOORS module template includes more than just a set heading structure, but also includes a set of std Views and Attributes as well. If it's a set heading structure only, then Sammy's advice has answered your question.

If you want the template to include a set suite of standard Views and Attributes then you need to build up a new Formal module from scratch and add Views and Attributes as required.

Once completed, the formal module should be stored under a "Templates" folder where users can easily find all templates and copy them to another location. I tend to make such a folder location read-only so that users have to use copy and paste.

In order to protect the integrity of the Views and Attributes that were defined for the template, you can add access rights to the Views and Attributes so that only members of a particular group, say a "Templates Authors" group, can modify them. I tend to put access rights on the Views but only put access rights on critical attributes where I don't want users fiddling with the atribute definition - particularly enumerated lists. When the template is copied to another location, the access rights will be honoured.

One more tip - view lists can get really messy once users strat adding thier own views. I prefix all of my template views with a number so that they sit at the top of the View list and can be put in a logical order, for example, here's a sample list of some of the std views that I might define - the gaps in the numbers allows for any later addition of new views.

00. Default View
05. Requirements Analysis View
10. Validation Analysis View
20. Verification Analysis View
30. Change Management View
40. Main Trace Matrix View
80. Template Instruction View
90. Export to Word View

Users are trained to prefix their public views with a short abbreviation of their name so that their own views stay grouped together. W.r.t. view 80 above - this is where we have a column that has instructions about what should go into each of the heading sections in the template.

Paul Miller

Re: Custom Template
llandale - Tue Feb 16 16:50:25 EST 2010

Didn't read the thread. If you first copy a module and then paste-special, you can select which features of that module are to be included in the new one; including views, attr types and defs, and section hierarchy. History and ObjIDs are reset. I think this is called 'cloning'.

After 'cloning', I see that the new module's History shows the various attributes et tal getting created.

  • Louie

Re: Custom Template
PDU - Mon Feb 22 02:39:26 EST 2010

Hi,

i send you, in attached file, an example of a template with titles, attributs and vues.
This is a DXL script.

Regards

Pierre
Attachments

attachment_14437878_DXL_Template_example.zip